import request from '@/utils/request';
import { R } from '../model/R';
import { Banner } from '@/api/model/Banner';

// 查询轮播图列表
export function listBanner():Promise<R<Banner>> {
    // eslint-disable-next-line @typescript-eslint/ban-ts-comment
    // @ts-ignore
    return request({
        url: '/business/banner/list',
        method: 'get',
    });
}
